package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.EhmCompany;
import com.aijk.ehm.model.EhmCompanyExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmCompanyMapper {
    int countByExample(EhmCompanyExample example);

    int deleteByExample(EhmCompanyExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmCompany record);

    int insertSelective(EhmCompany record);

    List<EhmCompany> selectByExample(EhmCompanyExample example);

    EhmCompany selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmCompany record, @Param("example") EhmCompanyExample example);

    int updateByExample(@Param("record") EhmCompany record, @Param("example") EhmCompanyExample example);

    int updateByPrimaryKeySelective(EhmCompany record);

    int updateByPrimaryKey(EhmCompany record);
}